package com.doxiaopu.students.product.entity;

import com.doxiaopu.students.component.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
@ApiModel(description= "组织获利团单信息")
public class OrganizationSingle extends BaseEntity {
    private static final long serialVersionUID = -1558926730714303790L;
    @ApiModelProperty(value = "获利团单id")
    private Integer id;
    private String flagid; //团单外键：
    private String massOrganizationId; //社团id外键：
    @ApiModelProperty(value = "累计分销订单数：（分享的订单大于限额，将不计入奖励）")
    private Integer cumulativeOrder; //累计分销订单数：（分享的订单大于限额，将不计入奖励）
    @ApiModelProperty(value = "累计分销获利：")
    private Integer cumulativeProfit; //累计分销获利：
    @ApiModelProperty(value = "返利状态：（0-正在返利；1-返利结束）")
    private Integer types; //返利状态：（0-正在返利；1-返利结束）
    @ApiModelProperty(value = "团单返利的创建时间：（定位返利表的返利金额与限额）")
    private Long rebateCreatedTime; //团单返利的创建时间：（定位返利表的返利金额与限额）

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFlagid() {
        return flagid;
    }

    public void setFlagid(String flagid) {
        this.flagid = flagid;
    }

    public String getMassOrganizationId() {
        return massOrganizationId;
    }

    public void setMassOrganizationId(String massOrganizationId) {
        this.massOrganizationId = massOrganizationId;
    }

    public Integer getCumulativeOrder() {
        return cumulativeOrder;
    }

    public void setCumulativeOrder(Integer cumulativeOrder) {
        this.cumulativeOrder = cumulativeOrder;
    }

    public Integer getCumulativeProfit() {
        return cumulativeProfit;
    }

    public void setCumulativeProfit(Integer cumulativeProfit) {
        this.cumulativeProfit = cumulativeProfit;
    }

    public Integer getTypes() {
        return types;
    }

    public void setTypes(Integer types) {
        this.types = types;
    }

    public Long getRebateCreatedTime() {
        return rebateCreatedTime;
    }

    public void setRebateCreatedTime(Long rebateCreatedTime) {
        this.rebateCreatedTime = rebateCreatedTime;
    }

    @Override
    public String toString() {
        return "OrganizationSingle{" +
                "id=" + id +
                ", flagid='" + flagid + '\'' +
                ", massOrganizationId='" + massOrganizationId + '\'' +
                ", cumulativeOrder=" + cumulativeOrder +
                ", cumulativeProfit=" + cumulativeProfit +
                ", types=" + types +
                ", rebateCreatedTime=" + rebateCreatedTime +
                '}';
    }
}
